home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Aug-Sep 88 / Re- Detect TextListView select < prev    next >
Encoding:
Text File  |  1991-03-06  |  899 b   |  26 lines  |  [TEXT/GEOL]

  1. Item    2467863                         5-Sept-88        16:57
  2.  
  3. From:   WETMORE1                        Wetmore, Russ
  4.  
  5. To:     X0118                           Bell Northern Research,Comm.Sys.Dev
  6.  
  7. cc:     MACAPP.TECH$                    MACAPP Tech
  8.  
  9. Sub:    Re: Detect Textlistview sel
  10.  
  11. Chris -
  12.  
  13. Whether or not a mouse click is ever acted on is determined in the target
  14. view’s HandleMouseDown method.  Sometimes, an action is taken there, or (the
  15. normal case) it is passed off to the view’s DoMouseCommand method to do the
  16. work.  In the case of mouse tracking, DoMouseCommand usually returns a tracker
  17. command object, and DoChoice may not be called at all.
  18.  
  19. You need, therefore, to override DoMouseCommand (or, alternately,
  20. HandleMouseDown) and handle the click there.  You might want to call DoChoice
  21. first, then call the INHERITED method, or do all the work yourself.
  22.         [ Russ ]
  23.  
  24.  
  25.  
  26.